﻿/*
 * Copyright (C) 2010 The MobileSecurePay Project
 * All right reserved.
 * author: shiqun.shi@alipay.com
 * 
 *  提示：如何获取安全校验码和合作身份者id
 *  1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 *  2.点击“商家服务”(https://b.alipay.com/order/myorder.htm)
 *  3.点击“查询合作者身份(pid)”、“查询安全校验码(key)”
 */

package com.alipay.android.msp;

//
// 请参考 Android平台安全支付服务(msp)应用开发接口(4.2 RSA算法签名)部分，并使用压缩包中的openssl RSA密钥生成工具，生成一套RSA公私钥。
// 这里签名时，只需要使用生成的RSA私钥。
// Note: 为安全起见，使用RSA私钥进行签名的操作过程，应该尽量放到商家服务器端去进行。
public final class Keys {
	// public static final String appId="2088211506667026";
	// public static final String privateKey="v37fzb3bex23u3ah79ni4ga9wfamfhwo";
	// 合作身份者id，以2088开头的16位纯数字
	public static final String DEFAULT_PARTNER = "2088211506667026";

	// 收款支付宝账号
	public static final String DEFAULT_SELLER = "1302235178@qq.com";// 成都巴迪巴迪网络科技有限公司

	// 商户私钥，自助生成
	// public static final String PRIVATE =
	// "MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAL2kap3P+ywqxEpu4nJU6EhlDMuDZ1bwjFmE73iUcF6auGxI13VQx/xl+/kQEhgZuEjXFAEAB8LRuQlpLLddXZKA2YjOQuUi0qzA+4wenBnJ83WPc72cH4qo2VxBvLYwEqFtw7dNH3EQ6Fwz2y6rMf3Eia+7exXKV3jGiarCFHqrAgMBAAECgYB70HDbgAKZH4LwpdyqkMznFzJ3XN+HX54ChExlCWUkHxfxes1RBuDK5TrRrbBik8hBpkqlLIPkqlCI2GYdgZOpBfzeLozxVfV/EZVMoLJDL6VD5/dD7uyLxG9rAd6xLMjwVfZCRWM/gHkdZyWPcUW4qhP7G8DoifODmnBMtOHsoQJBAPJClYDJWscXBnTjPgLvUT6TiQBPTbsAc5e1VqAJwcPrQaRQy3gB4eI2a7ySAkYIJ0dTJPNdoYeFWowHF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u2/J75HGGrFbUdfpU8D0rrIGFd2qqp1646hMS1Aph0FAkAOsxLgvDWznqMdYzChkKqRZbKT41TmSmEUem2cCYFXTsAM9XM99FsO0ovovGISM3aSTAer4QgZGDpZ7rZF1BEr";
	// 加密的私钥
	public static final String PRIVATE = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMhPWcsZqej1hvr84hd2OaF32l1Q0WOUsPtxzXsR6ivvC1rybu4njmHZCNCeb1IULkHtEVI8JCyXbQLy3WLrWYTKHvfqzyy5M/BMqDdamQt8o2YjSgYobFwjqJUqlX3FrS93NdefAMjxCcv3B+x5Qs1greTQB1IvU9wF8+acE4TjAgMBAAECgYBoYjGAzVblt00n7jBD2bAenL6Gcl8rbYjs/1j9EVDepCtesYdtQ9/GzbryPB32v917LXchS4XuVtrP9o+3xL1YsXlGElqrbAZA3fkEoreppiPLfwik46jO21IYOaDwypf+7OR2rG23DC5YMiEZt9b4IvBfY2pwfoWEsEXSUPtKgQJBAOnIgHZRjtRJlgPXqePyO/9XOytpNm1r+gN4fMTA3LGf/8SMPwj0X8q9DlaKRGgyyqmyo9Zivxg5X4WO74E1sSkCQQDbWIJIK1vCmgUZbSrZcgGyzrRFn+XEIj70OYslqCzlNhKTwQQ4d3xx4MRW9hoOqKCYGDNVjxO2c4N5a1zCIgsrAkEA6GNwnyyvaALF5ofozzgpv8Z8gMiTW+3rlqucixCT0NWVL1GiD0qsNiH8MLY9Db7/ifSTvDZocrIFbAQLvEsdEQJBAM2dCHOSgW/IZWNSXEp9fm4ZKg/iNcZHu+/ASVnBbmRm7b8nvkcYasVtR1+lTwPSusgYV3aqqnXrjqExLUCmHQUCQA6zEuC8NbOeox1jMKGQqpFlspPjVOZKYRR6bZwJgVdOwAz1cz30Ww7Si+i8YhIzdpJMB6vhCBkYOlnutkXUESs=";
	// 支付宝公钥
	// public static final String PUBLIC =
	// "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9pGqdz/ssKsRKbuJyVOhIZQzLg2dW8IxZhO94lHBemrhsSNd1UMf8Zfv5EBIYGbhI1xQBAAfC0bkJaSy3XV2SgNmIzkLlItKswPuMHpwZyfN1j3O9nB+KqNlcQby2MBKhbcO3TR9xEOhcM9suqzH9xImvu3sVyld4xomqwhR6qwIDAQAB";
	// public static final String PUBLIC =
	// "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
	// public static final String PUBLIC
	// ="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9pGqdz/ssKsRKbuJyVOhIZQzLg2dW8IxZhO94lHBemrhsSNd1UMf8Zfv5EBIYGbhI1xQBAAfC0bkJaSy3XV2SgNmIzkLlItKswPuMHpwZyfN1j3O9nB+KqNlcQby2MBKhbcO3TR9xEOhcM9suqzH9xImvu3sVyld4xomqwhR6qwIDAQAB";
	public static final String PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDIT1nLGano9Yb6/OIXdjmhd9pdUNFjlLD7cc17Eeor7wta8m7uJ45h2QjQnm9SFC5B7RFSPCQsl20C8t1i61mEyh736s8suTPwTKg3WpkLfKNmI0oGKGxcI6iVKpV9xa0vdzXXnwDI8QnL9wfseULNYK3k0AdSL1PcBfPmnBOE4wIDAQAB";

	public static final String PARTNER = "2088211506667026";
	public static final String SELLER = "1302235178@qq.com";
	public static final String RSA_PRIVATE = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMhPWcsZqej1hvr84hd2OaF32l1Q0WOUsPtxzXsR6ivvC1rybu4njmHZCNCeb1IULkHtEVI8JCyXbQLy3WLrWYTKHvfqz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